package org.yefei.homeworkday17.five;

public class Fish implements Move {
	private String name;
	private String speed;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpeed() {
		return speed;
	}

	public void setSpeed(String speed) {
		this.speed = speed;
	}

	public Fish(String name, String speed) {
		this.name = name;
		this.speed = speed;
	}

	@Override
	public void move() {
		System.out.println(name + "的游动速度是：" + speed);
	}

}
